
import { get, post ,deletes, put} from './http'
// 获取 订单 list
export const getList = (params) => get(`/orders/`,params)
// 根据 id 删除订单
export const deleteOrder = (id) => deletes(`/orders/`+id)
// 新增订单
export const addOrder = (params) => post(`/orders/`, params)

// 根据 id 查询订单
export const getInfo = (id) => get(`/orders/`+id)

// 修改订单信息
export const editOrder = (id,params) => put(`/orders/`+id,params)
// ..................
// 统计订单
export const orderChart = (params) => post(`/orders/chart`,params)



